<div id="content">
<div id="box">
<h3>热词管理 热词将会在类目的搜索列表页面显示</h3>
{if !empty($this->data['menuCategory'])}
<table width="100%">
<tr>
<td>
<a href="{url('Category','Index')}">所有类目</a>
<!--{loop $this->data['menuCategory'] $info}-->
&nbsp;>&nbsp;<a href="{url('Hotkey','Index',array('cid'=>$info['id']))}">{$info['name']}</a>
<!--{/loop}-->
</td>
</tr>
</table>
{/if}
<table width="100%" class="admin-table">
<thead>
	<tr>
    	<th class="a-center"><a href="#">ID</a></th>
    	<th class="a-center"><a href="#">关键词</a></th>
        <th class="a-center"><a href="#">排序</a><img src="{$this->data['baseurl']}images/admin/icons/arrow_down_mini.gif" width="16" height="16" align="absmiddle" /></th>
    	<th class="a-center"><a href="#">操作</a></th>
    </tr>
</thead>
<tbody>
	{if !empty($this->data['data'])}
	<!--{loop $this->data['data'] $info}-->
	<tr>
    	<td class="a-center">{$info['id']}</td>
    	<td class="a-center">{$info['name']}</td>
        <td class="a-center">{$info['orderby']}</td>
        <td class="a-center"><a href="{url('Hotkey','Edit',array('id'=>$info['id']))}">编辑</a> | <a href="{url('Hotkey','Del',array('id'=>$info['id']))}" onclick="return confirm('确定要删除么？');">删除</a></td>
    </tr>
    <!--{/loop}-->
    {/if}
</tbody>
</table>
	
<table width="100%">
<tr>
<td>
<a href="{url('Hotkey','Edit',array('cid'=>$this->data['category_id']))}">添加热词</a>
</td>
</tr>
</table>
</div>
</div>